Skip to content

[Design doc] ORT experimental C API support#28723

Open
edgchen1 wants to merge 5 commits into
mainfrom
edgchen1/experimental_c_api_design
Open

[Design doc] ORT experimental C API support#28723
edgchen1 wants to merge 5 commits into
mainfrom
edgchen1/experimental_c_api_design

Conversation

@edgchen1
Copy link
Copy Markdown
Contributor

Description

Add design document for ORT experimental C API support.

Motivation and Context

Opening PR to review design.

edgchen1 and others added 2 commits May 29, 2026 13:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Comment thread docs/design/Experimental_C_API.md Outdated
Comment thread docs/design/Experimental_C_API.md Outdated
Comment thread docs/design/Experimental_C_API.md
edgchen1 and others added 3 commits June 1, 2026 09:58
… .inc

- Use ExpSinceV<version>_<TargetStruct>_<Name> naming convention
- Version prefix guarantees uniqueness, eliminating need for retired .inc
- Merge C and C++ headers into single file with #ifdef __cplusplus guard
- C++ accessors reuse C typedefs directly (no duplicate typedef)
- Add SinceVersion as first X-macro argument for mechanical name construction

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants